package com.studentSystem.mapper;

import com.studentSystem.pojo.Classes;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ClassesMapper {
    List<Class> list();

    List<Class> listAll(String grade, Long id, String advisor);

    void addClass(Classes classes);

    void delete(Long id);

    void updateClass(Classes classes);

    List<Classes> all();
}
